﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Com.JunCaiSoft.Permission.Entity
{
    public class Menu
    {
        /// <summary>
        /// 菜单标识
        /// </summary>
        public virtual Guid Id { get; set; }
        /// <summary>
        /// 排序编号
        /// </summary>
        public virtual Int64 Num { get; set; }
        /// <summary>
        /// 菜单编码
        /// </summary>
        public virtual String NumCode { get; set; }
        /// <summary>
        /// 模块名称（中文）
        /// </summary>
        public virtual String Title { get; set; }
        /// <summary>
        /// 模块名称（英文）
        /// </summary>
        public virtual String Name { get; set; }
        /// <summary>
        /// 是否展开
        /// </summary>
        public virtual Boolean Expand { get; set; }
        /// <summary>
        /// 是否半钩选中
        /// </summary>
        public virtual Boolean Indeterminate { get; set; }
        /// <summary>
        /// 是否全钩选中
        /// </summary>
        public virtual Boolean Checked { get; set; }
        /// <summary>
        /// 模块路由（有子节点的为空）
        /// </summary>
        public virtual String Route { get; set; }
        /// <summary>
        /// ICON
        /// </summary>
        public virtual String Icon { get; set; }
        /// <summary>
        /// 子节点
        /// </summary>
        public virtual Guid PartentId { get; set; }
    }
}
